package com.shensi.api.pay.client;

import com.alibaba.fastjson.JSONObject;
import com.shensi.common.core.constant.CloudConstant;
import io.swagger.annotations.Api;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;


@Api(tags = "客服对话广告")
@FeignClient(name = CloudConstant.PAY_SERVER)
public interface DialogueAdClient {

    @GetMapping(value = "/dialogueAd")
    public String dialogueAdConfirm(HttpServletRequest request);

    @PostMapping(value = "/dialogueAd")
    public String customerDialogue2( @RequestBody JSONObject json);

}
